package com.example.crawler.mapper;

import com.example.crawler.entity.MajorLineEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * com.example.crawler.mapper
 *
 * @author 白雨浓
 * date: 17-10-28 下午9:03
 * content:
 */
@Mapper
@Repository
public interface MajorLineMapper {

   boolean insert(MajorLineEntity entity);

   boolean insertList(@Param("list") List<MajorLineEntity> list);
}
